package com.example.personalizededucationsystem.repository;

import com.example.personalizededucationsystem.model.Assignment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AssignmentRepository extends JpaRepository<Assignment, Long> {
    List<Assignment> findByMyClass_ClassId(Long classId);
}